package com.mobisys.live.bean.user;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @author gwg
 * @date 2018/3/14 11:55
 */
public class UpdatePassword {
    @NotBlank(message = "用户id不能为空！")
    private String userId;

    @NotBlank(message = "用户名不能为空！")
    private String userName;

    @NotBlank(message = "密码不能为空！")
    private String password;

    @NotBlank(message = "新密码不能为空！")
    private String newPassword;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
